Description:
Avoid performing equality operations on boolean operands. You should not use
true and false literals in conditional clauses.
Incorrect:
var success:boolean;
...
success = init();
if success = false then
...
end;
Correct:
var success:boolean;
...
success = init();
if not success then
...
end;